#include "editcollectionwidget.h"

EditCollectionWidget::EditCollectionWidget(QWidget* parent)
    :QDialog(parent)
{
    setupUi(this);
}

void EditCollectionWidget::insertCollectionResponse()
{
    collectionContentEdit->clear();
    updateButton->setVisible(false);

}

void EditCollectionWidget::updateCollectionResponse()
{
    insertButton->setVisible(false);
    QString collectionContent=collectionContentEdit->toPlainText();
    emit doInsertCollection(collectionContent);
}
